/*
	File:		KeyboardAndMouse.h
	Author:		dmonroe
	Date:		12/11/2012
	Copyright:	Full Sail University

	Purpose:	Global interface to read keyboard & mouse data
				from the window message loop
*/

#ifndef KEYBOARDANDMOUSE_H
#define KEYBOARDANDMOUSE_H


struct SKeyboardState
{
	bool	bKeys[ 256 ];		// binary flags would be more compact, yet tedious
};

void GetKeyboardState( SKeyboardState* state );		// implemented in Graphics_Win32.cpp


struct SMouseState
{
	bool	bButtons[ 5 ];
	int		nXPos;
	int		nYPos;
	int		nDeltaX;
	int		nDeltaY;
};

void GetMouseState( SMouseState* state );			// implemented in Graphics_Win32.cpp


#endif //KEYBOARDANDMOUSE_H
